<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<body>
<header class="copy" th:fragment="copy">
    <div class="home_icon">
        <a href="/" style="text-decoration: none;color: white">HOME</a>
    </div>
    <span class="login_string">
        <a href="/login.do" th:if="${userInformation.name}==null" id="user_name_a" th:value="yy">登录</a>
        <a href="/getProfile.do" class="user_name_a"
           th:if="${userInformation.name}!=null" th:text="${userInformation.name}" id="user_name_a"></a>
        <a href="/logout.do" class="user_logout" th:if="${userInformation.name}!=null" id="user_logout">登出</a>
    </span>
</header>
</body>
</html>
